package com.xz.knowledgeDuplication.feign;

import com.xz.knowledgeDuplication.result.R;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Test模块Feign客户端
 *
 * @author 召
 * @date 2022-03-27 21:34:16
 */
@Service
@FeignClient("service-test")
public interface TestFeignClient {

    /**
     * 获取信息
     *
     * @return 成功获取
     */
    @GetMapping("/test/getInfo")
    R getInfo();
}
